package com.ganzalang.gmall.threadlocal.controller;

import com.ganzalang.gmall.threadlocal.service.ThreadLocalTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.Objects;
import java.util.Optional;

/**
 * @description:
 * @author: Ganzalang
 * @Date 2021/3/26 15:12
 */
@RestController
public class TestController {

    @Autowired
    private ThreadLocalTest threadLocalTest;

    @GetMapping("/test")
    public void test() {
        threadLocalTest.test();
    }

    
}
